import request from '@/utils/request'
//题库api
// 题库列表
export function geExamPaperList(params) {
  return request({
    url: '/examPaper/list',
    method: 'get',
    params
  })
}
export function saveExamPaper(data) {
  return request({
    url: '/examPaper/save',
    method: 'post',
    data
  })
}
export function delExamPaper(params) {
  return request({
    url: `/examPaper/delete`,
    method: 'delete',
    params
  })
}

export function getExamPaperQuesstionList(params) {
  return request({
    url: '/examPaper/quesstionList',
    method: 'get',
    params
  })
}